
function showNotification(title,body){
	var notification = webkitNotifications.createNotification(
	  'img/icon.png',
	  title,
	  body
	);

	notification.show();
	setTimeout(function(){notification.cancel()}, 3000);
}

function showLoader(appendTo){
	//show loader
	loader = $('#loader');
	loader.remove().insertAfter($(appendTo));
	loader.show();
}
function hideLoader(){
	$('#loader').hide();
}
